* {
  font-family: "Work Sans", serif;
  /*Graphik font wasn't working, so used an alternative.*/
}

body {
  background: #fff;
}

.nav {
  background: #fff;
}

.nav-list li {
  list-style: none;
  margin-left: 1.5rem;
}

.nav-list li :hover {
  background-color: aliceblue;
}

.nav-btn {
  border-bottom-right-radius: 10px !important;
  background: #e7332b;
  margin-left: 1.2rem !important;
}

.home-link,
.home-link:active {
  border-bottom: 3px solid #e7332b;
}

.impact-link:active .home-link,
.why-link:active .home-link {
  border: none;
}

.impact-link:active,
.why-link:active {
  border-bottom: 3px solid #e7332b;
}

.header-text {
  margin-top: 17rem !important;
  width: 45%;
  position: relative;
}

.header-text h1 span {
  color: #e7332b;
}

.header-text p {
  color: #787878;
  line-height: 1.5rem;
}

.header-text img {
  position: absolute;
  right: 4%;
  top: 7%;
}

.hire-btn {
  border-bottom-right-radius: 10px !important;
  background: #e7332b;
  box-shadow: 2px 2px 2px #787878;
}

.join-btn {
  border-bottom-right-radius: 10px !important;
  background: #585858;
  box-shadow: 2px 2px 2px #787878;
  margin-left: 1rem;
}

.impact {
  background-image: url("Images/bgsection2.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.countries img {
  padding: 10px;
  background: #fff;
  margin-right: 0.7rem;
  border-radius: 1rem;
}

.impact-content {
  margin-top: 8rem;
  width: 55%;
  line-height: 1.65rem;
}

.impact-content h1 {
  font-weight: 600;
}

.impact-content span {
  color: #e7332b;
}

.skills-box {
  position: relative;
}

.skills-box .line {
  position: absolute;
  top: 150px;
  right: 0;
}

.skills-content h3 span {
  color: #e7332b;
}

.skills-content p {
  padding: 1rem 2.3rem;
  color: #585858;
  box-shadow: 3px 8px 15px #78787899;
  transition: ease 0.3s;
}

.skills-content p:hover {
  transform: translateY(-10px);
}

.skills-content2 p {
  padding: 1rem 2rem;
  color: #585858;
  box-shadow: 3px 8px 15px #78787899;
  transition: ease 0.3s;
}

.skills-content2 p:hover {
  transform: translateY(-10px);
}

.sectionhire {
  background-color: rgb(255, 248, 229);
}

.whyhire-box .whycard {
  width: 32%;
  border-bottom-right-radius: 1.2rem !important;
}

.whyhire-box .whycard:hover {
  background-color: #000 !important;
  color: #fff;
}

.whyhire-box h2 span {
  color: #e7332b;
}

.why-hirebuttons .red-btn {
  border-bottom-right-radius: 10px !important;
  background: #e7332b;
  box-shadow: 2px 2px 2px #787878;
  padding: 0.5rem 2.3rem;
}

.why-hirebuttons .black-btn {
  border-bottom-right-radius: 10px !important;
  background: #787878;
  margin-left: 0.5rem !important;
  box-shadow: 2px 2px 2px #585858;
  padding: 0.5rem 2.3rem;
}

.why-hirebuttons .red-btn:hover,
.why-hirebuttons .black-btn:hover {
  box-shadow: 2px 2px 5px #787878;
  color: #fff;
  cursor: pointer;
}

.footer-icons ul li {
  display: inline-block !important;
  margin-right: 1rem;
}

/*MEDIA QUERIES*/
@media (max-width: 1024px) {
  .header {
    flex-direction: column;
  }

  .header .smiling-man {
    width: 80%;
  }

  .header-text {
    margin-top: 7rem !important;
    width: 65%;
    margin: 0 auto;
    text-align: center;
  }

  .header-buttons {
    justify-content: center !important;
  }

  .impact-content {
    width: 50%;
  }
  .skills-box .line {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none !important;
  }
  .header-text {
    width: 87%;
  }
  .impact-content {
    width: 75%;
    text-align: center;
  }

  .impact-box {
    flex-direction: column;
  }
  .whyhire-box .whycard {
    width: 47%;
  }

  .logo-social {
    flex-direction: column;
    justify-content: space-around !important;
    align-items: center;
  }
  .copyright {
    flex-direction: column-reverse;
    justify-content: space-around !important;
    align-items: center;
  }
  .copyright hr {
    display: block;
  }
}

@media (max-width: 568px) {
  .header-buttons .hire-btn,
  .header-buttons .join-btn,
  .nav-btn {
    padding: 10px !important;
  }

  .header-text {
    margin-top: 2rem !important;
    width: 90%;
  }

  .header-text img {
    position: absolute;
    right: 4%;
    top: 12%;
  }

  .impact-content {
    width: 95%;
  }
  .whyhire-box .whycard {
    width: 95%;
  }
}
